import Layout from './pages/layout/layout'
import Login from './pages/login/login'
import NotFound from '@/pages/notFound'
import { HashRouter as Router, Route, Switch } from 'react-router-dom'
export default function App() {
  return (
    <div className="App">
      <Router>
        <Switch>
          <Route path="/home" component={Layout}></Route>
          <Route path="/login" component={Login}></Route>
          <Route path="/notFound" component={NotFound}></Route>
        </Switch>
      </Router>
    </div>
  )
}
